import request from '@/util/request'

export function listProductNavigation(data) {
  if (data == null) {
    data = {}
  }
  return request({
    url: '/iot/product/navigation/list',
    method: 'post',
    data
  })
}

export function listVisibleWithProduct(data) {
  if (data == null) {
    data = {}
  }
  return request({
    url: '/iot/product/navigation/listVisibleWithProduct',
    method: 'post',
    data
  })
}

export function getProductNavigation(data) {
  return request({
    url: '/iot/product/navigation/get',
    method: 'post',
    data
  })
}

export function insertProductNavigation(data) {
  return request({
    url: '/iot/product/navigation/insert',
    method: 'post',
    data
  })
}

export function updateProductNavigation(data) {
  return request({
    url: '/iot/product/navigation/update',
    method: 'post',
    data
  })
}

export function deleteProductNavigation(data) {
  return request({
    url: '/iot/product/navigation/delete',
    method: 'post',
    data
  })
}

